import httpInstance from '@/utils/http.js';


export const loginApI=({ account, password } )=>{
  return  httpInstance({
    url:"/login",
    method:"post",
    data:{
      account ,
      password
    }
  })
}

export const getLikeListAPI=({limit=4})=>{
  return httpInstance({
    url:"/goods/relevant",
    params:{
      limit
    }
  })
}